package com.jc.auth.application.convert;

import com.jc.auth.application.dto.AuthPermissionDTO;
import com.jc.auth.application.dto.AuthRolePermissionDTO;
import com.jc.auth.domain.entity.AuthPermissionBO;
import com.jc.auth.domain.entity.AuthRolePermissionBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @Description: 角色权限dto转化器
 * @Author: ASL_ly
 * @Package: com.jc.auth.application.convert
 * @Project: jc-club
 * @Date: 2024/10/28  22:48
 */
@Mapper
public interface AuthRolePermissionDTOConverter {

    AuthRolePermissionDTOConverter INSTANCE = Mappers.getMapper(AuthRolePermissionDTOConverter.class);

    AuthRolePermissionBO convertRolePermissionDTOToBO(AuthRolePermissionDTO authRolePermissionDTO);
}
